<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:tool="http://www.springframework.org/schema/tool" xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="
	http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
	http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
	http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
	http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
	http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-3.2.xsd"
	default-lazy-init="false">
	<!-- ${businessName} -->
	<bean id="${packageCode}.${moduleMapperCode}.dao.${businessCode}JdbcDao" class="${packageCode}.${moduleMapperCode}.dao.${businessCode}JdbcDao" >
		<property name="idNames">
			<list>
				<value>id</value>
			</list>
		</property>
		<property name="codeNames">
			<list>
				<value>code</value>
			</list>
		</property>
		<property name="updateNames">
			<list>
				<value>parentId</value>
				<value>typeId</value>
				<value>code</value>
				<value>name</value>
				<value>value</value>
				<value>remark</value>
			</list>
		</property>
	</bean>
	
	<alias name="${packageCode}.${moduleMapperCode}.dao.${businessCode}JdbcDao" alias="${packageCode}.${moduleMapperCode}.dao.${businessCode}Dao" /> 

	<!-- ${businessName} -->
	<bean id="${packageCode}.${moduleMapperCode}.service.${businessCode}DefaultService" class="${packageCode}.${moduleMapperCode}.service.${businessCode}DefaultService" /> 
	
	<alias name="${packageCode}.${moduleMapperCode}.service.${businessCode}DefaultService" alias="${packageCode}.${moduleMapperCode}.service.${businessCode}Service" /> 

	<bean id="${packageCode}.${moduleMapperCode}.service.${businessCode?uncap_first}.service" parent="serviceTemplate">
		<property name="service" ref="${packageCode}.${moduleMapperCode}.service.${businessCode}Service" />
		<property name="serviceInterface" value="${packageCode}.${moduleMapperCode}.service.${businessCode}Service" />
	</bean>

<!--
	<bean name="${packageCode}.${moduleMapperCode}.service.${businessCode}Service" parent="clientTemplate">
		<property name="serviceUrl" value="${r"$"}{${projectCode}Host}${packageCode}.${moduleMapperCode}.service.${businessCode?uncap_first}.service" />
		<property name="serviceInterface" value="${packageCode}.${moduleMapperCode}.service.${businessCode}Service" />
	</bean>
-->
</beans>